package view;

import helper.Utils;
import model.Register;

public class RegisterViewBinary extends RegisterView {
	private static final String COLUMN_NAME = "Binary value";

	@Override
	public String getColumnName() {
		return COLUMN_NAME;
	}

	@Override
	public String convertValue(Register value) {

		return Utils.zeroFiller(Integer.toBinaryString(value.getValue()), this
				.getRegisterWidth());

	}
}
